package com.ruoyi.maode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.maode.domain.dto.QueryPartDTO;
import com.ruoyi.maode.domain.dto.QuerySupplierDTO;
import com.ruoyi.maode.domain.entity.Part;
import com.ruoyi.maode.domain.entity.Supplier;
import org.apache.ibatis.annotations.Param;

/**
 * 供应商Mapper类
 * @author zhangwenqiang
 */
public interface SupplierMapper extends BaseMapper<Supplier> {

    /**
     * 供应商列表分页查询Maper
     * @param page
     * @param dto
     * @return
     */
    Page<Supplier> selectSupplierList(@Param("page") Page page, @Param("dto") QuerySupplierDTO dto);
}
